package com.sc.nft.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author JYT
 * @create 2024/4/26 17:56
 */
@Data
@Accessors(chain = true)
//@TableName("wx_mini_user_info")
//@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "WxMiniUserInfo对象", description = "微信小程序用户表")
public class WxMiniUserInfo /*extends SuperEntity implements Serializable*/ {
//    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "用户Id")
    private Long userId;

    @ApiModelProperty(value = "微信openId")
    private String openId;

    @ApiModelProperty(value = "微信绑定的手机号")
    private String userTel;

    @ApiModelProperty(value = "是否启用 0否 1是")
    private Boolean isOpen;

//    public static WxMiniUserInfo build(String userTel,Long userId,String openId){
//        WxMiniUserInfo wxMiniUserInfo = new WxMiniUserInfo();
//        wxMiniUserInfo.setUserTel(userTel);
//        wxMiniUserInfo.setUserId(userId);
//        wxMiniUserInfo.setOpenId(openId);
//        return wxMiniUserInfo;
//    }

}
